package com.xuecheng.api.course;

import com.xuecheng.framework.domain.course.CourseMarket;
import com.xuecheng.framework.domain.course.Teachplan;
import com.xuecheng.framework.domain.course.ext.CourseInfo;
import com.xuecheng.framework.domain.course.ext.TeachplanNode;
import com.xuecheng.framework.domain.course.request.CourseListRequest;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: huaiyu.gao -_- -_-
 * @Date: 2021/11/19 9:38
 */
public interface CourseControllerApi {
    TeachplanNode findTeachplanList(String courseId);
    ResponseResult addTeachplan(@RequestBody Teachplan teachplan);

//    QueryResponseResult<CourseInfo> findCourseList(int page, int size, CourseListRequest courseListRequest);
    @ApiOperation("获取课程营销信息")
    CourseMarket getCourseMarketById(String courseId);
    @ApiOperation("更新课程营销信息")
    ResponseResult updateCourseMarket(String id,CourseMarket courseMarket);

}
